#ifndef SCREEN_H
#define SCREEN_H

#include <helpers\game\screen.h>
#include <vector>
#include <sstream>
#include <deque>

using namespace DelGE::Helpers::Game;
using namespace std;

class MyScreen : public Screen
{
private:
	Camera* pMyCamera[2];
	AnimatedEntity* pMyBaseEntity;
	vector<AnimatedEntity*> oEntityList;
	Texture* pMyTexture;
	Font *pMyFont;

	int iViewCamera;
	int iRenderModelCount;

	deque<float> dqSamples;
	float fCurrentFps;
	float fHighestFps;
	float fAvarageFps;
	float fFpsSampleTimer;
	int iSampleSize;

	void DrawFpsGraph(GraphicsModule *pGraphics, float x, float y, float width, float height, Font *pFont);

public:
	MyScreen();
	~MyScreen();

	void Render();
	void Update(float fDelta);

	void Load();
	void Unload();
};

#endif